home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 1999 May
/
SGI IRIX 6.5 Applications 1999 May.iso
/
dist
/
arraysvcs.idb
/
usr
/
share
/
catman
/
a_man
/
cat1m
/
arrayconfig.z
/
arrayconfig
Wrap
Text File
|
1998-10-27
|
6KB
|
133 lines
aaaarrrrrrrraaaayyyyccccoooonnnnffffiiiigggg((((1111mmmm)))) aaaarrrrrrrraaaayyyyccccoooonnnnffffiiiigggg((((1111mmmm))))
NNNNAAAAMMMMEEEE
arrayconfig - configure a simple array
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
aaaarrrrrrrraaaayyyyccccoooonnnnffffiiiigggg [----dddd] [----iiii] [----mmmm] [----aaaa _a_r_r_a_y_n_a_m_e] _h_o_s_t_n_a_m_e...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_a_r_r_a_y_c_o_n_f_i_g is a tool for configuring a simple array of systems. It can
perform the following tasks:
- Generate an array configuration file (_a_r_r_a_y_d._c_o_n_f) containing an array
definition for the nodes in a single array.
- Distribute an array configuration file to the nodes in an array and
activate array services on them.
- Update the "array services machine identifier" on the local system or
all of the systems in the array that support them.
The _a_r_r_a_y_c_o_n_f_i_g command itself has several command line options. The
valid options include:
----aaaa _a_r_r_a_y_n_a_m_e
Sets the name of the array that is defined using the ----mmmm option. If
this option is not specified, the name "default" is used.
----dddd (Distribute) Copies the _a_r_r_a_y_d._c_o_n_f file on the current system to
each of the systems specified by the _h_o_s_t_n_a_m_e arguments, then
activates array services on those systems.
----iiii (ID) Sets the "array services machine identifier" on the local
machine, or on each of the machines in the array if the ----dddd option
was also specified. This allows the system to generate global array
session handles without contacting the array services daemon, which
improves the startup time for new array sessions. The actual
identifier is formed from the last 15 bits of each machine's host ID
(see _h_o_s_t_i_d(1) for more information). The change does not take
effect until the system has been rebooted. The system must be
running at least version 6.2 of IRIX for this function to work.
----mmmm (Make) Generates an _a_r_r_a_y_d._c_o_n_f file containing a single array
definition. The name of the array is taken from the ----aaaa option (if
specified). The individual machines in the array are taken from the
_h_o_s_t_n_a_m_e arguments, which should specify network hostnames for the
machines. At least one _h_o_s_t_n_a_m_e must be specified. The array is
designated as the default destination for all array commands.
Typically the _a_r_r_a_y_c_o_n_f_i_g command is only run once, when the array is
first setup. The options can be combined to initialize the array
configuration in a single step if no special requirements exist:
PPPPaaaaggggeeee 1111
aaaarrrrrrrraaaayyyyccccoooonnnnffffiiiigggg((((1111mmmm)))) aaaarrrrrrrraaaayyyyccccoooonnnnffffiiiigggg((((1111mmmm))))
_aaaa_rrrr_rrrr_aaaa_yyyy_cccc_oooo_nnnn_ffff_iiii_gggg _----_dddd _----_iiii _----_mmmm _----_aaaa _MMMM_yyyy_AAAA_rrrr_rrrr_aaaa_yyyy _NNNN_oooo_dddd_eeee_1111 _NNNN_oooo_dddd_eeee_2222 _NNNN_oooo_dddd_eeee_3333 _NNNN_oooo_dddd_eeee_4444
This sets up an array consisting of four machines (Node1-Node4). The
name of the array is be "MyArray". The resulting configuration file is
copied to all machines in the array, and array services are activated (or
reactivated, if already running) on each machine. Each machine also has
its array services machine identifier set, although the change does not
take effect until each machine has been rebooted.
If it is necessary to make local modifications to the _a_r_r_a_y_d._c_o_n_f file
before distributing it to the machines in the array, _a_r_r_a_y_c_o_n_f_i_g should
be invoked twice:
_aaaa_rrrr_rrrr_aaaa_yyyy_cccc_oooo_nnnn_ffff_iiii_gggg _----_mmmm _----_aaaa _MMMM_yyyy_AAAA_rrrr_rrrr_aaaa_yyyy _NNNN_oooo_dddd_eeee_1111 _NNNN_oooo_dddd_eeee_2222 _NNNN_oooo_dddd_eeee_3333 _NNNN_oooo_dddd_eeee_4444
(_e_d_i_t /_u_s_r/_l_i_b/_a_r_r_a_y/_a_r_r_a_y_d._c_o_n_f _t_o _t_a_s_t_e)
_aaaa_rrrr_rrrr_aaaa_yyyy_cccc_oooo_nnnn_ffff_iiii_gggg _----_dddd _----_iiii _NNNN_oooo_dddd_eeee_1111 _NNNN_oooo_dddd_eeee_2222 _NNNN_oooo_dddd_eeee_3333 _NNNN_oooo_dddd_eeee_4444
SSSSEEEEEEEE AAAALLLLSSSSOOOO
arrayd(1M), arrayd.conf(4), array_services(5).
PPPPaaaaggggeeee 2222